package com.home.databinding2

import android.content.Context
import android.view.View
import android.widget.Toast

class EventHandleListener{
    var ctx:Context? = null
    constructor()
    constructor(ctx: Context){
        this.ctx = ctx
    }
    fun onButtonClicked(view: View){
        Toast.makeText(ctx,"clicked!",Toast.LENGTH_SHORT).show()
    }
}